<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div>
        <%- include('head',{title:'登录'}) %>
            <h2>Login - Login - 登录 </h2>
            <form action="/users/login" method="GET">
                <label for="username">
                    用户名: <input type="text" value="<%- username %>" name="username" id="username" placeholder="用户名">
                </label> <br> <br>
                <label for="password">
                    密码: <input type="password" name="password" id="password" placeholder="密码">
                </label> <br> <br>
                <label>
                    <button type="submit">登录</button>
                    <button type="reset">重置数据</button>
                </label>
            </form>
            <%- include foot %>
                <!-- 假如组件不带参数，就可以直接写 -->
    </div>
</body>

</html>